package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

/**
 * 用户收藏信息对象 user_collect
 * 
 * @author qinggeng
 * @date 2020-06-16
 */
@Data
public class UserCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏ID */
    private Long collectId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 商户ID */
    @Excel(name = "商户ID")
    private Long shopId;


    /** 状态 10=已收藏 20=已取消 30=已删除 */
    @Excel(name = "状态 10=已收藏 20=已取消 30=已删除")
    private String status;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("collectId", getCollectId())
            .append("userId", getUserId())
            .append("goodsId", getGoodsId())
            .append("shopId", getShopId())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
